package com.example.chatgptapplication.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.chatgptapplication.common.bean.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Model extends BaseEntity {


    @TableId(type = IdType.AUTO)
    private Integer id;


    @TableField("model_name")
    private String modelName;


    @TableField("platform_id")
    private Integer platformId;


    @TableField(exist = false)
    private String platformName;



    @TableField("app_key")
    private String appKey;


    @TableField("app_secretKey")
    private String appSecretKey;


    @TableField("type")
    private Integer type;


    @TableField("create_time")
    private Date createDate;

    @TableField("update_time")
    private Date updateDate;
}
